package com.actions.bluetoothbox2.util;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by 刘勇和敬晓凤 on 2018/6/12.
 */

@Entity
public class VoiceInfo {

    //不能用int
    @Id(autoincrement = true)
    private Long id;
    public int ring_type;
    public int song_seq;
    public int code_type;//0 ANSI   1
    public String song_name;
    public byte[] song_name_b;
    public boolean ischecked;
    @Generated(hash = 497528386)
    public VoiceInfo(Long id, int ring_type, int song_seq, int code_type,
            String song_name, byte[] song_name_b, boolean ischecked) {
        this.id = id;
        this.ring_type = ring_type;
        this.song_seq = song_seq;
        this.code_type = code_type;
        this.song_name = song_name;
        this.song_name_b = song_name_b;
        this.ischecked = ischecked;
    }
    @Generated(hash = 418546498)
    public VoiceInfo() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public int getRing_type() {
        return this.ring_type;
    }
    public void setRing_type(int ring_type) {
        this.ring_type = ring_type;
    }
    public int getSong_seq() {
        return this.song_seq;
    }
    public void setSong_seq(int song_seq) {
        this.song_seq = song_seq;
    }
    public int getCode_type() {
        return this.code_type;
    }
    public void setCode_type(int code_type) {
        this.code_type = code_type;
    }
    public String getSong_name() {
        return this.song_name;
    }
    public void setSong_name(String song_name) {
        this.song_name = song_name;
    }
    public byte[] getSong_name_b() {
        return this.song_name_b;
    }
    public void setSong_name_b(byte[] song_name_b) {
        this.song_name_b = song_name_b;
    }
    public boolean getIschecked() {
        return this.ischecked;
    }
    public void setIschecked(boolean ischecked) {
        this.ischecked = ischecked;
    }

}
